﻿JUI.DataAdapter = function (params) {

    this.tagName = "JUI.DataAdapter";

    if (params.dataProvider) this.dataProvider = params.dataProvider;                   //  user    | wsdl  | wcf   | excel
    else this.dataProvider = "user";

    if (params.dataSource) this.dataSource = params.dataSource;
    else this.dataSource = null;

    if (params.dataType) this.dataType = params.dataType;                               //  json    | xml   | csv   | openxml
    else this.dataType = undefined;

    if (params.dataNode) this.dataNode = params.dataNode;
    else this.dataNode = null;
}
JUI.DataAdapter.prototype.length = function () {


}
JUI.DataAdapter.prototype.getItemAt = function (idx) {


}
JUI.DataAdapter.prototype.getDataValue = function (item, dataField) {


}